﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace RN.ERP.Web.Enterprise
{
    public partial class EnterpriseCorpAllInfo : BasePage
    {
        protected string corpUserGuid
        {
            get
            {
                if (!string.IsNullOrEmpty(Request.QueryString["corpUserGuid"]))
                {
                    return Request.QueryString["corpUserGuid"].Trim();
                }
                return "";
            }
        }
        protected string classId
        {
            get
            {
                if (!string.IsNullOrEmpty(Request.QueryString["classId"]))
                {
                    return Request.QueryString["classId"].Trim();
                }
                return "0";
            }
        }
        protected int IsCheckShowEmp
        {
            get
            {
                if (UserInfo.CorpUserGuid == corpUserGuid || UserInfo.RoleType == "Manager")
                {
                    return 1;
                }
                return 0;
            }
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            //classId
        }
        public override bool IsCheckPermission
        {
            get { return false; }
        }
       
    }
}